<?php
/**
 * Interface which defines a handler for XML tags
 * 
 * <p>Handlers should be written for a single tag.  The handlers should
 * return some object which corresponds to the XML tag.
 *
 * @package junction.utils.xml
 * @author Alexander Schearer <aas11@duke.edu>
 */
interface Utils_Xml_Handler {
	
	/**
	 * Handle the given tag and its attributes
	 *
	 * @param String $tag
	 * @param array $attributes
	 * @return unknown_type
	 */
	public function handle($tag, array $attributes);
}
?>